package com.jeecms.wicool.manager.product;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.product.Product;
import com.jeecms.wicool.entity.product.ProductCate;

import java.util.List;

public interface ProductCateMng {
    public Pagination getPage(String cateName, Integer cateLevel, int pageNo, int pageSize, CmsUser user);

    public ProductCate findById(Integer id);

    public ProductCate update(ProductCate bean, Integer shopId);

    public ProductCate save(ProductCate bean, Integer shopId);

    public List<ProductCate> getListByCateLevel(Integer level, CmsUser user);

    public ProductCate deleteById(Integer id);

    public ProductCate[] deleteByIds(Integer[] ids);

    public List<ProductCate> getAll();
}